<template>
  <a-locale-provider :locale="zh_CN">
    <div id="app">
      <keep-alive>
        <router-view v-if="$route.meta.keepAlive" />
      </keep-alive>
      <router-view v-if="!$route.meta.keepAlive" />
    </div>
  </a-locale-provider>
</template>
<script lang="ts">
import Vue from 'vue';
import zh_CN from 'ant-design-vue/lib/locale-provider/zh_CN';

export default Vue.extend({
  data() {
    return {
      zh_CN
    };
  }
});
</script>

<style lang="scss">
@import './assets/common.scss';
</style>
